package com.itheima.service;

import com.itheima.domain.UmsAdminRoleRelation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.domain.UmsRole;

import java.util.List;

/**
 * <p>
 * 后台用户和角色关系表 服务类
 * </p>
 *
 * @author zhuguo
 * @since 2022-11-10
 */
public interface UmsAdminRoleRelationService extends IService<UmsAdminRoleRelation> {

    // 根据 adminId 查询
    List<UmsAdminRoleRelation> getByAdminId(Long adminId);

    //  批量删除
    void removeByAdminId(Long adminId);
}
